<%@ page isELIgnored="false" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    table {
        border-collapse: collapse;
    }
</style>
<body>
<p>自应用程序启动以来，该页面被访问了
    <font color="blue">${count}</font>次
</p>
<table border="1" cellpadding="0" width="800">
    <tr>
        <th>id</th>
        <th>name</th>
        <th>hireDate</th>
        <th>salary</th>
    </tr>

    <c:forEach items= "${employees}" var="employee">
        <tr align="center">
            <td>${employee.id}</td>
            <td>${employee.name}</td>
            <td>${employee.hireDate}</td>
            <td>${employee.salary}</td>
        </tr>
    </c:forEach>
</table>

</body>
</html>



